﻿using System;
using System.Runtime.Serialization;

namespace ActiveDirectoryService.Library.Enums
{
    [DataContract]
    [Flags]
    public enum GroupTypes
    {                
        [EnumMember]
        System = 1,                 // (0x00000001) a group created by the system. 
        [EnumMember]
        Global = 2,                 // (0x00000002) a group with global scope. 
        [EnumMember]
        DomainLocal = 4,            // (0x00000004) a group with domain local scope.
        [EnumMember]
        Universal = 8,              // (0x00000008) a group with universal scope.
        [EnumMember]
        AzManAppBasic = 16,         // (0x00000010) an APP_BASIC group for AzMan. 
        [EnumMember]
        AzManAppQuery = 32,         // (0x00000020) an APP_QUERY group for AzMan.
        [EnumMember]
        SecurityGroup = -2147483648 // (0x80000000) a security group. If this flag is // not set, then the group is a distribution group. 
    }
}